<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Document</title>
    <script>
        var name = prompt('请输入您的姓名：');
        var gender = prompt('请输入您的性别：');
        var age = prompt('请输入您的年龄：');

        console.log("用户的姓名："+name);
        console.log("用户的年龄："+age);
        console.log("用户的性别："+gender);
    </script>
</head>
<body>
    
</body>
</html>